pygrub: further improve grub2 support
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 15 Mar 2010 13:23:07 +0000 (13:23 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 15 Mar 2010 13:23:07 +0000 (13:23 +0000)
commitd8f3a67bf98789a2f760d01f6af0d5afb824ae7e
tree19f67e1519eac6844d5e7238a2a71c056c7ea10f
parentaec29abd5bd764a0931e994cdc23a8dacd52196d
pygrub: further improve grub2 support

      * Improve syntax error messages to say what actually went wrong
        instead of giving an arbitrary and basically useless
        integer.
      * Improve handling of quoted values used with the "set" command,
        previously only the default variable was special cased to
        handle quoting.
      * Allow for extra options to the menuentry command, syntax now
        appears to be
                        menuentry "TITLE" --option1 --option2 {...}

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/pygrub/src/GrubConf.py